home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Developer Utilities / Installer 4.0.3 SDK / DeveloperInterfaces / CIncludes / CallbackDispatcherHeader.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-15  |  588 b   |  34 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CallbackDispatcherHeader.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Kevin Aitken
  7.  
  8.     Copyright:    © 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     6/21/93    KBA        first checked in
  13.  
  14. */
  15.  
  16.  
  17. #ifndef __CallbackDispatcherHeader__
  18. #define __CallbackDispatcherHeader__
  19.  
  20. #ifndef __Types__
  21. #include <Types.h>
  22. #endif
  23.  
  24. #define    kMaxNumOfFunctionParams    12
  25.  
  26. typedef struct{
  27.     long    fSelector;
  28.     long    fResult;
  29.     long    fParam[kMaxNumOfFunctionParams];
  30. } CallBackPBRec, *CallBackPBPtr;
  31.  
  32. typedef long    (*CallBackProcPtr)(    CallBackPBPtr );        
  33.  
  34. #endif